package com.roger.myHome.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ExpensesVo implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String fullAddress;

    private BigDecimal payMoney;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date payTime;

    private String content;

    private String type;
}
